module.exports = {
  devServer: {
    port: '8989',
    open: true,
    proxy: { //配置多个代理跨域，以 /api 开头的请求地址全部替换成 http://192.168.12.133:8000/
      '/api': {
        target: 'http://cccc',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
}